package com.kmxd.ams.client.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 字典项
 *
 * @author ZuoLG
 * @since 2022-07-13
 */
@Data
public class SysDictTabsetVO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 主键ID */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /** 字典ID */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long dictId;

  /** 字典项表映射列名 */
  private String fieldName;

  /** 排序 */
  private Integer sort;

  /** 备注 */
  private String remarks;

  /** 创建人 */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long createBy;

  /** 创建时间 */
  @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;

  /** 更新人 */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long updateBy;

  /** 更新时间 */
  @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;
}
